﻿using EmbeddedSharp.Core;

namespace EmbeddedSharp.Scripting.Function.IO {
    public class ZipNode : FuncNode {

        public ZipNode()
            : base() {
            this.Value = "zip";
        }

        public override object Evaluate() {
            if (Parameters.Count < 1) {
                return "usage: zip(fileName)";
            }

            string path = ((StringNode)Parameters[0]).Value;
            string content = ((StringNode)Parameters[1]).Value;

            return string.Empty;
        }
    }
}
